FROM java:openjdk-8
MAINTAINER testli
workdir /apps
COPY ./target/*.jar /apps/
RUN mv *.jar javaapp.jar
ENTRYPOINT ["java","-jar","javaapp.jar"]